package com.firexxx.common.errors;

/**
 * @description: TODO
 * @throws:
 * @author: zhuangzhang2
 * @date: 2020/02/20 17:03
 */
public enum ErrorType {

    ADAPTER,
    BUSINESS;

    public boolean isAdapter(ErrorType errorType) {
        return errorType == ADAPTER;
    }

    public boolean isBusiness(ErrorType errorType) {
        return errorType == BUSINESS;
    }
}